package com.daka.entity;

import lombok.Data;
import lombok.ToString;
import org.apache.ibatis.type.Alias;

import java.util.Date;

@SuppressWarnings("unused")
@Data
@ToString
@Alias(value = "U_INSURANCE")
public class Insurance {
    /**
     * .
     */
    private Integer id;

    /**
     * .
     */
    private String insuranceCode;

    /**
     * .
     */
    private Long activityId;

    /**
     * .
     */
    private Long volunteerId;

    /**
     * .
     */
    private Date createTime;

    /**
     * .
     */
    private Date startTime;

    /**
     * .
     */
    private Date endTime;

    /**
     * .
     */
    private Integer status;

    public static Insurance build(MemberInsurance memberInsurance){
        Insurance insurance = new Insurance();

        return insurance;
    }
}